package com.liliudong.cursormate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liliudong.cursormate.entity.SysOrg;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Liudong.li
 * @description 针对表【sys_org(系统组织表)】的数据库操作Mapper
 * @createDate 2023-10-24 22:29:24
 * @Entity com.liliudong.cursormate.entity.SysOrg
 */
@Mapper
public interface SysOrgMapper extends BaseMapper<SysOrg> {

    /**
     * 选择组织编号下最大值
     *
     * @param parentOrgNo 组织编号
     * @return {@link String}
     */
    String selectMaxUnderOrgNo(String parentOrgNo);
}




